// 导入组件
const Layout = () => import('@/layout/index.vue')

const followuphighblood=()=>import('@/views/followup/followuplowhighblood.vue')
const  followupdiabetes=()=>import('@/views/followup/followupdiabetes.vue')
const followupcoronaryheart=()=>import('@/views/followup/followupcoronaryheart.vue')
const followuphighbloodmanagement=()=>import('@/views/followup/followuplowhighbloodmanagement.vue')
const followupdiabetesmanagement=()=>import('@/views/followup/followupdiabetesmanagement.vue') 
const followupcoronaryheartmanagement=()=>import('@/views/followup/followupcoronaryheartmanagement.vue')
// 导出该组件
export default [
    {
      path: '/followup',
      component: Layout,
      name: 'followup',
      meta: { 
        title: '随访功能',
      },
      icon: 'Phone',
      children: [
        {
          path: '/followups',
          name: 'followups',
          icon: 'Expand',
          meta: {
            title: '随访管理1',
            // affix: true,
          },
          children: [
            {
              path: '/followuphighblood',
              name: 'followuphighblood',
              component: followuphighblood,
              icon: 'Edit',
              meta: {
                title: '低危病情随访',
                // affix: true,
              },
            },
            {
              path: '/followupdiabetes',
              name: 'followupdiabetes',
              component: followupdiabetes,
              icon: 'Edit',
              meta: {
                title: '中危病情随访',
                // affix: true,
              },
            },
            {
              path: '/followupcoronaryheart',
              name: 'followupcoronaryheart',
              component: followupcoronaryheart,
              icon: 'Edit',
              meta: {
                title: '高危病情随访',
                // affix: true,
              },
            },
          ]
        },
        {
          path: '/followupss',
          name: 'followupss',
          icon: 'Edit',
          meta: {
            title: '随访评价',
            // affix: true,
          },
          children: [
            {
              path: '/followuphighbloodmanagement',
              name: 'followuphighbloodmanagement',
              component: followuphighbloodmanagement,
              icon: 'Edit',
              meta: {
                title: '高血压随访评价',
                // affix: true,
              },
            },
            {
              path: '/followupdiabetesmanagement',
              name: 'followupdiabetesmanagement',
              component: followupdiabetesmanagement,
              icon: 'Edit',
              meta: {
                title: '糖尿病随访评价',
                // affix: true,
              },
            },
            {
              path: '/followupcoronaryheartmanagement',
              name: 'followupcoronaryheartmanagement',
              component:followupcoronaryheartmanagement,
              icon: 'Edit',
              meta: {
                title: '冠心病随访评价',
                // affix: true,
              },
            },
          ]
        },
      ],
    },
  ]